﻿/*
 * Copyright © 2020, Wuxi Safover Intelligent Technology Co., Ltd. All rights reserved.
 * 
 * 无锡安永智能科技有限公司版权所有，未经许可，不得用于商业用途
 * 
 * Visit: https://www.safover.com/ 
 */

namespace Safover.LidarCollector.Models
{
    public class PowerBoardConfig
    {
        public static string JsonFileName => "PowerBoardConfig.json";

        public string PortName { get; set; } = "COM1";

        public ushort BaudRate { get; set; } = 9600;


        public ushort PMTS { get; set; } = 600;

        public ushort PMTPS { get; set; } = 600;

        public ushort PMTPB { get; set; } = 600;



        public override string ToString()
        {
            return $"PowerBoard: Port Name=[{PortName}]; BaudRate=[{BaudRate}]; PMTS=[{PMTS}]; PMTPS=[{PMTPS}]; PMTPB=[{PMTPB}];";
        }
    }
}
